﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPC.Offer.Repository
{
    class System_RoleTableRepository : BaseRepository<Model.System_RoleTable>, IRepository.ISystem_RoleTableRepository
    {
        /// <summary>
        /// 角色批量删除
        /// </summary>
        /// <param name="GetId">获取的ID字符串</param>
        /// <returns></returns>
        public dynamic RoleBatchDelete(string GetId) {
            return DbContext.Database.ExecuteSqlCommand("DELETE FROM [FPC_Offer].[dbo].[System_RoleTable] WHERE RoleId in (" + GetId + ")");
        }
    }
}
